package com.epoch.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


//用户类，用于存放用户信息
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
    private static final long serialVersionUID = -8200954872027763380L;
    String name;
    String password;
    Integer id;
    private Message message = new Message();

    public User(String name, String password) {
        this.name = name;
        this.password = password;
    }
}
